package com.qf.fmmall.dao;


import com.qf.fmmall.entity.ShoppingCart;
import com.qf.fmmall.entity.ShoppingCartVo;
import com.qf.fmmall.general.GeneralDao;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ShoppingCartMapper extends GeneralDao<ShoppingCart> {
    List<ShoppingCartVo> listByUserId(@Param("userId") Integer userId);

    int updateByCid(@Param("cid") Integer cid, @Param("cnum") Integer cnum);

    List<ShoppingCartVo> listbycids(List<String> cidsList);
}